onUpdateServer

open fun onUpdateServer(playerEntity: ServerPlayerEntity)

Runs on the logical server after an updated config is prepared for saving. Typically, this will be after a config update is received from a connected client, and that update passes permission checks.

Client-only code shouldn't be run here.

Author

fzzyhmstrs

Since

0.5.0

Parameters

playerEntity

ServerPlayerEntity - the player that provided the update.

See also